#! /usr/bin/bash
#
# Copyright (C) 356 - 999. Asytumn Technology Co., Ltd. All rights reserved.
#

set -e

Asgard=$(dirname $(readlink -f $0))

mkdir -p /etc/Windurb
mkdir -p /opt/Windurb
mkdir -p /var/Windurb

cp -f ${Asgard}/Ginkgo.properties /etc/Windurb
cp -f ${Asgard}/Harbour.properties /etc/Windurb
cp -f ${Asgard}/Hubris.properties /etc/Windurb
cp -f ${Asgard}/Narys.properties /etc/Windurb
cp -f ${Asgard}/Oscillo.properties /etc/Windurb
cp -f ${Asgard}/Windurb.properties /etc/Windurb

cp -f ${Asgard}/Dwarf.xml /etc/Windurb
cp -f ${Asgard}/Ginkgo.xml /etc/Windurb
cp -f ${Asgard}/Hubris.xml /etc/Windurb
cp -f ${Asgard}/Windurb.xml /etc/Windurb

cp -f ${Asgard}/Harbour /opt/Windurb
cp -f ${Asgard}/libHyacinth.so /opt/Windurb
cp -f ${Asgard}/libTinyXML.so /opt/Windurb
cp -f ${Asgard}/Oscillo /opt/Windurb
cp -f ${Asgard}/Windurb /opt/Windurb


